home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
United Public Domain Gold 2
/
United Public Domain Gold 2.iso
/
business
/
pb051.dms
/
pb051.adf
/
Install_ARexx
< prev
next >
Wrap
AmigaDOS Script File
|
1993-05-02
|
4KB
|
148 lines
.key dest
.bra {
.ket }
; *** KBE Software '93 - Arexx to Reminder Install Program ***
; ** (C) 1993 Damon Bennett/KBE Software **
copy c:waitmouse ram:
resident c:echo add
resident c:if add
resident c:endif add
resident c:skip add
resident c:copy add
resident c:delete add
resident c:execute add
resident c:list add
resident c:cd add
resident c:lab add
echo "This script will install ARexx from the selected disk"
echo "to the Reminder disk, and alter the Startup-Sequence"
echo "to make it automatically run the checking programs."
echo ""
if "{dest}" EQ ""
echo "Sorry, no disk was selected to copy ARexx from."
echo "To select a disk, please CLICK ONCE on this install program's"
echo "icon, press and HOLD DOWN either SHIFT key, and DOUBLE CLICK"
echo "on the icon for where ARexx is stored. This can be a disk icon"
echo "such as 'Workbench 2.0' or a directory in a disk. PLEASE DO NOT"
echo "SELECT A FILE ICON as this script will not work."
echo ""
echo "Press Left Mouse Button when you have read this."
ram:waitmouse
skip endofit
endif
if not exists "{dest}"
echo "Sorry, the disk you selected to copy ARexx from doesn't exist."
echo "To select a disk, please CLICK ONCE on this install program's"
echo "icon, press and HOLD DOWN either SHIFT key, and DOUBLE CLICK"
echo "on the icon for where ARexx is stored. This can be a disk icon"
echo "such as 'Workbench 2.0' or a directory in a disk. PLEASE DO NOT"
echo "SELECT A FILE ICON as this script will not work."
echo ""
echo "Press Left Mouse Button when you have read this."
ram:waitmouse
skip endofit
endif
cd "{dest}"
cd :
if not exists "libs/rexxsyslib.library"
echo "Sorry, the disk you selected doesn't have ARexx on it."
echo "To select a disk, please CLICK ONCE on this install program's"
echo "icon, press and HOLD DOWN either SHIFT key, and DOUBLE CLICK"
echo "on the icon for where ARexx is stored. This can be a disk icon"
echo "such as 'Workbench 2.0' or a directory in a disk. PLEASE DO NOT"
echo "SELECT A FILE ICON as this script will not work."
echo ""
echo "Press Left Mouse Button when you have read this."
ram:waitmouse
skip endofit
endif
list >ram:file10 #?/rexxmast lformat="copy %S%S to Ram:"
list >ram:file11 #?/rexxmast.info lformat="copy %S%S to Ram:"
list >ram:file20 #?/rx lformat="copy %S%S to ram:"
list >ram:file21 #?/tcc lformat="copy %S%S to ram:"
list >ram:file22 #?/tco lformat="copy %S%S to ram:"
list >ram:file23 #?/ts lformat="copy %S%S to ram:"
list >ram:file24 #?/te lformat="copy %S%S to ram:"
list >ram:file25 #?/hi lformat="copy %S%S to ram:"
list >ram:file3 #?/rexxsyslib.library lformat="copy %S%S to ram:"
list >ram:file4 #?/rexxsupport.library lformat="copy %S%S to ram:"
execute ram:file10
execute ram:file11
execute ram:file20
execute ram:file21
execute ram:file22
execute ram:file23
execute ram:file24
execute ram:file25
execute ram:file3
execute ram:file4
cd sys:
copy ram:rexxs#?.library to libs: quiet
makedir sys:RexxC
copy ram:rx rexxc
copy ram:tcc rexxc
copy ram:tco rexxc
copy ram:ts rexxc
copy ram:te rexxc
copy ram:hi rexxc
copy ram:RexxMast sys:system/
copy ram:RexxMast.info Sys:system/
delete ram:file10
delete ram:file11
delete ram:file20
delete ram:file21
delete ram:file22
delete ram:file23
delete ram:file24
delete ram:file25
delete ram:file3
delete ram:file4
delete ram:rexxmast
delete ram:rexxmast.info
delete ram:rx
delete ram:tcc
delete ram:tco
delete ram:ts
delete ram:te
delete ram:hi
delete ram:rexxs#?.library quiet
delete ram:waitmouse
rename s:Startup-sequence s:OLD_STARTUP-SEQUENCE
rename s:REXX_STARTUP-SEQUENCE s:StartUp-Sequence
echo ""
echo "OK ... ARexx is now installed onto the Reminder Disk."
echo "Simply re-boot from it to have the Checking programs run."
echo ""
echo "Press left mouse button when you are ready ...."
waitmouse
LAB ENDOFIT
resident c:echo remove
resident c:if remove
resident c:endif remove
resident c:skip remove
resident c:copy remove
resident c:delete remove
resident c:execute remove
resident c:list remove
resident c:cd remove
resident c:lab remove
echo "Reminder v1.0ß - (C) 1993 KBE Software"